<template>
  <el-menu router background-color="#4D77Ff"
    text-color="#fff" active-text-color="#4D77Ff"
    default-active="/page" 
    :collapse-transition='false'>
      <el-menu-item style="padding-left:20px" index="/page/book">
           <i class="el-icon-s-management"></i>
            <span slot="title">图片上传</span>
       </el-menu-item>
      <el-menu-item index="/page/analysis">
        <i class="el-icon-user-solid"></i>
        <span slot="title">分析功能</span>
      </el-menu-item>
    </el-menu>
</template>

<script>
export default {
  name: 'layout',
  components: {},
  data () {
    return {
    }
  },
  methods: {}
}
</script>

<style lang="less" scoped>
i{
  color: #f5deb3;
}
.menu-itm{
  text-align: center;
}
span{
  color: #f5deb3;
}
.nav{
  font-size: 20px;
}
.el-menu{
  border-right: 0;
}
</style>
